 
package com.hs.core.model;

import com.hs.log.HsLogger;

/**
 * Provides an object representing a configuration value as used by
 * {@link com.hs.core.model.HsConfiguration}.
 */
public class HsConfigurationObject {

	/** Standard logger. */
	private static final HsLogger logger = HsLogger.getLogger(HsConfigurationObject.class.getName());

	private String clazz;
	private String key;
	private String name;
	private String state;

	/**
	 *
	 */
	public String getClazz() {
		return this.clazz;
	}

	/**
	 *
	 */
	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	/**
	 *
	 */
	public boolean isExperimental() {
		return (this.state != null && this.state.equalsIgnoreCase("experimental"));
	}

	/**
	 *
	 */
	public String getKey() {
		return this.key;
	}

	/**
	 *
	 */
	public void setKey(String key) {
		this.key = key;
	}

	/**
	 *
	 */
	public String getName() {
		return this.name;
	}

	/**
	 *
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 *
	 */
	public String getState() {
		return this.state;
	}

	/**
	 *
	 */
	public void setState(String state) {
		this.state = state;
	}
}
